<?php
include($_SERVER["DOCUMENT_ROOT"] . "/type/model.php");
include($_SERVER["DOCUMENT_ROOT"] . "/type/view.php");

function controller_news_type_on_request()
{
	$type_list = model_get_news_type_list();
	return view_news_type_list($type_list);
}

function controller_product_type_on_request()
{
	$type_list = model_get_product_type_list();
	return view_product_type_list($type_list);
}
?>
